#!/usr/bin/env python
# -*- coding: utf-8 -*-

#
# This program is free software; you can redistribute it and/or modify  
# it under the terms of the GNU General Public License as published by  
# the Free Software Foundation; either version 2 of the License, or     
# (at your option) any later version.                                   
#                                                                         
# A copy of the license can be found in the license.txt file supplied   
# with this software or at: http://www.gnu.org/copyleft/gpl.html       
#


class   Cell(object) :
    def __init__(self) :
        self.table = None
        self.key_begin = None
        self.key_end = None
        self.path = None
        self.device = None
        ## __init__()

    def __str__(self) :
        f = ['Cell']
        f.append('dev:%s' % self.device)
        f.append('path:%s' % self.path)
        f.append('%s(%s .. %s]' % (self.table, repr(self.key_begin), repr(self.key_end)))
        return ' '.join(f)
        ## __str__()

    def __repr__(self) :
        return ''.join(('<', self.__str__(), '>'))
        ## __repr__()

    ## class Cell

